﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register src="Mycontrol/slide.ascx" tagname="slide" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <div id="banner">
           <%-- <div id="slides">
				<div class="slides_container">
					<a href="/"><img src="img/feng_shui4.png" width="678px" height="270" alt="Slide 1"></a>
                    <a href="/" ><img src="img/ebd1318310911.png" width="678px" height="270" alt="Slide 1"></a>
                     <a href="/" ><img src="img/1345537717.png" width="678px" height="270" alt="Slide 1"></a>
                      <a href="/" ><img src="img/123213.png" width="678px" height="270" alt="Slide 1"></a>
					
				</div>
				<a href="#" class="prev"><img src="img/arrow-prev.png" width="24" height="43" alt="Arrow Prev"></a>
				<a href="#" class="next"><img src="img/arrow-next.png" width="24" height="43" alt="Arrow Next"></a>
			</div>--%>
           <uc1:slide ID="slide1" runat="server" />
    </div>
    <div id="content_top">
    </div>
    <div id="content_middle">
    <div class=c2>
                <span>Tour du lịch nổi bật</asp:Label></span>
                </div>
        <asp:DataList ID="datalist_noi_bat" runat="server" RepeatColumns="3">
            <ItemTemplate>
                <div class="product_box margin_r20">
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html">
                        <img src="images/<%# Eval("anh_nho") %>" alt="website du lịch" height="165"></a>
                    <h3>
                        <%# Eval("ten_tour")%></h3>
                    <p class="price">
                        Giá tour: <span><%# int.Parse(Eval("gia_khuyen_mai").ToString()) == 0 ? Constants.LIEN_HE : Eval("gia_khuyen_mai", "{0:0,0" + Constants.LOAI_TIEN + "}")%></span></p>
                    <p class="price">
                      Số ngày: <span><%# int.Parse(Eval("so_ngay").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_ngay", "{0:0,0" + Constants.NGAY + "}")%></span>
                      Số đêm: <span><%# int.Parse(Eval("so_dem").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_dem", "{0:0,0" + Constants.DEM + "}")%></span>
                    </p>
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html" class="detail">Chi tiết &raquo;</a><%--<a href="#" class="addtocard">Add to cart</a>--%><div class="cleaner">
                    </div>
                </div>
            </ItemTemplate>
        </asp:DataList>
       <%-- <div id="Div1">--%>
    <div class=c2>
                <span>Tour du lịch mới nhất  </asp:Label></span>
                </div>
        <asp:DataList ID="datalist_moi_nhat" runat="server" RepeatColumns="3">
            <ItemTemplate>
                <div class="product_box margin_r20">
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html">
                        <img src="images/<%# Eval("anh_nho") %>" alt="website du lịch" height="165"></a>
                    <h3>
                        <%# Eval("ten_tour")%></h3>
                    <p class="price">
                        Giá tour: <span><%# int.Parse(Eval("gia_khuyen_mai").ToString())==0?Constants.LIEN_HE: Eval("gia_khuyen_mai" ,"{0:0,0"+Constants.LOAI_TIEN+"}") %></span></p>
                    <p class="price">
                      Số ngày: <span><%# int.Parse(Eval("so_ngay").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_ngay", "{0:0,0" + Constants.NGAY + "}")%></span>
                      Số đêm: <span><%# int.Parse(Eval("so_dem").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_dem", "{0:0,0" + Constants.DEM + "}")%></span>
                    </p>
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html" class="detail">Chi tiết &raquo;</a><%--<a href="#" class="addtocard">Add to cart</a>--%><div class="cleaner">
                    </div>
                </div>
            </ItemTemplate>
        </asp:DataList>

        <div class=c2>
                <span>Tour du lịch khuyến mại  </asp:Label></span>
                </div>
        <asp:DataList ID="datalist_khuyen_mai" runat="server" RepeatColumns="3">
            <ItemTemplate>
                <div class="product_box margin_r20">
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html">
                        <img src="images/<%# Eval("anh_nho") %>" alt="website du lịch" height="165"></a>
                    <h3>
                        <%# Eval("ten_tour")%></h3>
                    <p class="price">
                        Giá tour: <span><%# int.Parse(Eval("gia_thi_truong").ToString())==0?Constants.LIEN_HE: Eval("gia_thi_truong" ,"{0:0,0"+Constants.LOAI_TIEN+"}") %></span></p>
                    <p class="price">
                        Giá khuyến mại: <span><%# int.Parse(Eval("gia_khuyen_mai").ToString())==0?Constants.LIEN_HE: Eval("gia_khuyen_mai" ,"{0:0,0"+Constants.LOAI_TIEN+"}") %></span></p>
                    
                    <p class="price">
                      Số ngày: <span><%# int.Parse(Eval("so_ngay").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_ngay", "{0:0,0" + Constants.NGAY + "}")%></span>
                      Số đêm: <span><%# int.Parse(Eval("so_dem").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_dem", "{0:0,0" + Constants.DEM + "}")%></span>
                    </p>
                    <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html" class="detail">Chi tiết &raquo;</a><%--<a href="#" class="addtocard">Add to cart</a>--%><div class="cleaner">
                    </div>
                </div>
            </ItemTemplate>
        </asp:DataList>
        
        <%--<asp:DataList ID=datalist_conten runat=server>
            <ItemTemplate>
            <asp:Label ID=lb_ten_loai_san_pham runat=server>
                 <div class=c2>
                <span><%# Eval("ten_loai_tour") %></span>
                </div>
                </asp:Label> 
                <asp:DataList ID=datalist_san_pharunat=server RepeatColumns=3>
                    <ItemTemplate>
                        <div class="product_box margin_r20"> <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html"> <img src="/images/<%# Eval("anh_nho") %>"  /></a>
                         
                            <h3> <%# Eval("ten_tour")%></h3>
                          
                          <p class="price"> Giá tour: <span><%# int.Parse(Eval("gia_thi_truong").ToString()) == 0 ? Constants.LIEN_HE : Eval("gia_thi_truong", "{0:0,0" + Constants.LOAI_TIEN + "}")%></span></p>
                          <p class="price"> 
                            Số ngày: <span><%# int.Parse(Eval("so_ngay").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_ngay", "{0:0,0" + Constants.NGAY + "}")%></span>
                            Số đêm: <span><%# int.Parse(Eval("so_dem").ToString()) == 0 ? Constants.LIEN_HE : Eval("so_dem", "{0:0,0" + Constants.DEM + "}")%></span></p>
                          <a href="/tour/<%# Eval("tour_id") %>/<%# Utils.GetTitle(Eval("ten_tour").ToString()) %>.html" class="detail">Chi tiết</a><%--<a href="#" class="addtocard">Add to cart</a>--%><%--<div class="cleaner"> </div>--%>
                       <%-- </div>
                    </ItemTemplate>
                </asp:DataList>
                <div class="xem_tat"><asp:Label ID=lb_xem_tat runat=server><a href="/tour-list/<%# Eval("loai_tour_id") %>/<%# Utils.GetTitle(Eval("ten_loai_tour").ToString()) %>.html">Xem tất >></a></asp:Label> </div>
            </ItemTemplate>
        </asp:DataList>--%>
        <div class="cleaner">
        </div>
    </div>
</asp:Content>
